<template>
    <div class="demo1">
        <h2>{{ msg }}</h2>
        <h2>学生姓名:{{name}}</h2>
        <h2>学生年龄:{{age}}</h2>
        <!-- <input type="text" v-fbind:value="name"> -->
    </div>
</template>

<script>
    export default {
        name:'Student',
        data() {
            return {
                msg:'个人信息',
                name:'trent',
                age:18
            }
        },
    }
</script>

<style>
    .demo1{
        background-color: grey;
    }
</style>